package com.fortune.dto.in.BackReturnOrder;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import java.util.List;

public class ReturnOrderEditDto {
    @NotBlank(message = "客户id不能为空")
    @ApiModelProperty(example = "客户id")
    private String clientId;
    @NotBlank(message = "工单id不能为空")
    @ApiModelProperty(example = "工单id不能为空")
    private String orderId;
    @NotBlank(message = "工单编号不能为空")
    @ApiModelProperty(example = "工单编号不能为空")
    private String no;
    List<ReturnOrderDetailDto> returnOrderDetailDto;

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public List<ReturnOrderDetailDto> getReturnOrderDetailDto() {
        return returnOrderDetailDto;
    }

    public void setReturnOrderDetailDto(List<ReturnOrderDetailDto> returnOrderDetailDto) {
        this.returnOrderDetailDto = returnOrderDetailDto;
    }

    @Override
    public String toString() {
        return "ReturnOrderEditDto{" +
                "clientId='" + clientId + '\'' +
                ", orderId='" + orderId + '\'' +
                ", no='" + no + '\'' +
                ", returnOrderDetailDto=" + returnOrderDetailDto +
                '}';
    }
}
